<%@ page language="java" import="java.util.*,com.hs.core.utils.*" pageEncoding="utf-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<%@ include file="../../include.jsp"%> 

<script src='<%=basePath%>dwr/interface/authdwr.js'></script> 
<script src='<%=basePath%>common/uploadify/jquery-1.5.1.min.js'></script> 
<script src='<%=basePath%>common/uploadify/swfobject.js'></script>
<script src='<%=basePath%>common/uploadify/jquery.uploadify.v2.1.4.min.js'></script>
<link rel="stylesheet" type="text/css" href="<%=basePath%>common/uploadify/uploadify.css" />
<style>.tac{text-align:center}</style>
<script>
$(document).ready(function() {
  $('#file_upload').uploadify({
    'uploader'  : '<%=basePath%>common/uploadify/uploadify.swf',
    'script'    : '<%=basePath %>data/uploadfile.do',
    'cancelImg' : '<%=basePath%>common/uploadify/cancel.png',
    'folder'    : '<%=basePath%>upload',
    'queueID'   : 'fileQueue',
    'auto'      : false,
    'muti'     : false,
    'multi': false, 
	'buttonImg' : '',  
	'fileExt'        : '*.xls',   
    'fileDesc'       : 'excel文件(*.xls)', 
    onComplete: function (event, queueID, fileObj, response, data) {
   		$('#result').html(data.filesUploaded +'个文件上传成功');  
   　},
   	onError: function(event, queueID, fileObj) {      

    }
    
  });
});
</script>
</head>
<body>
<div class="cont">
    <dl class="deta_list">
         	<form action="" method="get">
              <div id="fileQueue" align="center"> 
              <input id="file_upload" name="file_upload" type="file" />	&nbsp;&nbsp;
              <a href="javascript:jQuery('#file_upload').uploadifyUpload()" style="font-size:20px;">开始上传</a><span style="font-size:20px;">|</span>
			  <a href="javascript:jQuery('#file_upload').uploadifyClearQueue()" style="font-size:20px;">取消上传</a>
			  <span id="result" style="font-size: 20px;color: red"></span>  
              </div>
               <table border="0" cellspacing="0" cellpadding="0" class="list">
                  <tr>
                    <th width="4%">全选</th>
                    <th width="4%">序号</th>
                    <th width="30%">题名</th>
                    <th width="25%">作者</th>
                    <th width="25%">刊名</th>
                    <th width="12%">年份</th>
                  </tr>
                  <tr>
                    <td>
                      <input type="checkbox" name="checkbox" id="checkbox" />            </td>
                    <td>1</td>
                    <td>小骨窗开颅治疗高血压脑出血62例</td>
                    <td>叶宏权;朱永正;谢峥;孔德珍;戴晓勤;白朱华</td>
                    <td>安徽医学</td>
                    <td>2009</td>
                  </tr>
                  <tr>
                    <td>
                      <input type="checkbox" name="checkbox" id="checkbox" />            </td>
                    <td>1</td>
                    <td>小骨窗开颅治疗高血压脑出血62例</td>
                    <td>叶宏权;朱永正;谢峥;孔德珍;戴晓勤;白朱华</td>
                    <td>安徽医学</td>
                    <td>2009</td>
                  </tr>
                  <tr>
                    <td>
                      <input type="checkbox" name="checkbox" id="checkbox" />            </td>
                    <td>1</td>
                    <td>小骨窗开颅治疗高血压脑出血62例</td>
                    <td>叶宏权;朱永正;谢峥;孔德珍;戴晓勤;白朱华</td>
                    <td>安徽医学</td>
                    <td>2009</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox4" id="checkbox4" /></td>
                    <td>4</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox5" id="checkbox5" /></td>
                    <td>5</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox6" id="checkbox6" /></td>
                    <td>6</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox7" id="checkbox7" /></td>
                    <td>7</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox8" id="checkbox8" /></td>
                    <td>8</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox9" id="checkbox9" /></td>
                    <td>9</td>
                   <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" name="checkbox10" id="checkbox10" /></td>
                    <td>10</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                  <td colspan=8 align=center>
          				<a href="">首页</a>│<a href="">上一页</a>│<a href="">下一页</a>│<a href="">尾页</a>
          			</td>
         		  </tr>
                </table>
               
        	</form>
    </dl>
</div>

</body>
</html>
